package com.mall.auth_server.feign;

import com.common.utils.R;
import com.mall.auth_server.vo.LoginVo;
import com.mall.auth_server.vo.UserRegisterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("mall-member")
public interface MemberFeignService {
    @PostMapping("/member/member/register")
    public R register(@RequestBody UserRegisterVo vo);
    @RequestMapping( "/member/member/login")
    public R login(@RequestBody LoginVo vo);
}
